﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TopMenu.ascx.cs" Inherits="FreeProperty.Views.Shared.TopMenu" %>
<script>
    function ShowLogout(toShow) {
        var linkLogout = document.getElementById('linkLogout');
        if (toShow) {
            linkLogout.style.display = "block";
        }
        else {
            linkLogout.style.display = "none";
        }
        return false;
    }
</script>
<div align="left">
<div id="header">
    <ul class="navigation">
        <li><a href="#" onclick="javascript:return AjaxGET('Views/Main/SearchProperty.aspx',OnSuccess,OnError)">
            Search Property</a></li>
             <li><a href="#" onclick="javascript:return AjaxGET('Views/Main/PostProperty.aspx',OnSuccess,OnError)">
           Post Property</a></li>
           <li><a href="#" onclick="javascript:return AjaxGET('Views/User/UserProperty.aspx',OnSuccess,OnError)">
            My Property</a></li>
            <li><a href="#" id="linkLogout" style="display:none" onclick="javascript:return AjaxGET('Views/Main/Logout.aspx',OnSuccess,OnError)">
                    Logout</a></li>
    </ul>
  <div class="logo"><img src="Styles/Images/logo.png" /></div>
  <div id="headercontent">
		<img src="../../Styles/Images/headerimage.jpg" alt="" />
		
		
	</div>
</div>
</div>